from django.shortcuts import render

def index(request):
    return render(request, 'chat/index.html', {
        'title': '聊天主页',
        'theme_config': {
            'gradient': 'linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%)'
        }
    })